package Class.Advance.Interface.Test;

public class Frog extends Animal implements Swing{
    public Frog(String name, int age) {
        super(name, age);
    }

    public Frog() {
    }

    @Override
    public void eat(){
        System.out.println("吃虫子");
    }

    @Override
    public void swing(){
        System.out.println("蛙泳");
    }
}
